package com.unknowpupil.sell.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * <p>
 *
 * </p>
 *
 * @author AutoGenerator
 */
@TableName("order_detail")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class OrderDetail implements Serializable {

    private String detailId;

    private String orderId;

    private String productId;
    /**
     * 商品名称
     */

    @ApiModelProperty(value = "商品名称")
    private String productName;
    /**
     * 商品价格
     */

    @ApiModelProperty(value = "商品价格")
    private BigDecimal productPrice;
    /**
     * 商品数量
     */

    @ApiModelProperty(value = "商品数量")
    private Integer productQuantity;
    /**
     * 商品图
     */

    @ApiModelProperty(value = "商品图")
    private String productIcon;

    private Date created;

    private Date updated;

}
